package com.cooge.sharevideo.web.pojo;

import static javax.persistence.GenerationType.IDENTITY;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "recommend_video", catalog = "sharevideo")
public class RecommendVideo implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;
	private Long videoid;
	private Timestamp updatetime;
	private String iseffect;
	
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	@Column(name = "videoid")
	public Long getVideoid() {
		return videoid;
	}
	public void setVideoid(Long videoid) {
		this.videoid = videoid;
	}
	
	@Column(name = "updatetime", length = 19)
	public Timestamp getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(Timestamp updatetime) {
		this.updatetime = updatetime;
	}
	
	@Column(name = "iseffect", length = 10)
	public String getIseffect() {
		return iseffect;
	}
	public void setIseffect(String iseffect) {
		this.iseffect = iseffect;
	}
	
}
